package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.youxuan.common.utils.PageUtils;
import com.guigu.youxuan.pojo.SupplierInfo;
import com.guigu.youxuan.pojo.SupplierProduct;
import com.guigu.youxuan.pojo.dto.SupplierGoodsDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface ISupplierProductService extends IService<SupplierProduct> {

    /**
     * 分页查询供应商商品信息 商品维护
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<SupplierProduct> SupplierProductListPage(int sysUsersId,int currentPage, int pageSize);

    /**
     * 供应商商品拿id去查询数据
     * @param id
     * @return
     */
    SupplierProduct getByIdList(int id);

    PageUtils<SupplierGoodsDto> querySupplier(SupplierInfo supplierInfo, Long goodsId,int currentPage,int pageSize);
}
